Quick'n'dirty patch to address touchscreen issues

The code taken from here:

https://github.com/twbs/bootstrap/pull/5067#issuecomment-8604323

KenYN 11 years ago
parent
commit
eebd46d662
1 changed files with 3 additions and 1 deletions
  1. 3 1
      vendor/assets/javascripts/bootstrap.js

+ 3 - 1
vendor/assets/javascripts/bootstrap.js

@@ -2022,4 +2022,6 @@
2022 2022
   })
2023 2023
 
2024 2024
 
2025
-}(window.jQuery);
2025
+}(window.jQuery);
2026
+
2027
+$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });